plugins {
    id 'java-library'
    id 'maven-publish'
}

version = publishVersion

dependencies {
    api project(':api')
    implementation project(':http-client')
    implementation 'org.springframework.boot:spring-boot-autoconfigure'
}

compileJava {
    targetCompatibility = javaTargetVersion
    sourceCompatibility = javaTargetVersion
}

compileTestJava {
    targetCompatibility = javaTargetVersion
    sourceCompatibility = javaTargetVersion
}

publishing {
    publications {
        maven(MavenPublication) {
            from components.java
        }
    }
}
